|
|
|
| Table 27.2 Some RDO Objects and Their DAO Counterparts | | RDO Object | DAO Object | | rdoEngine | DBEngine | | rdoEnvironment | Workspace | | rdoConnection | Database | | rdoTable | TableDef | | rdoResultset | Recordset | | rdoColumn | Field | | rdoQuery | QueryDef | | rdoParameter | Parameter |
|
|
| Table 27.3 rdoResultset Types and the Corresponding Recordset Types | | rdoResultset Types | Recordset Types | Definition | | Keyset | Dynaset | Updatable set of records in which movement is unrestricted. | | Static | Snapshot | Non-updatable set of records that were present when the set was created. Updates by other users are not reflected. | | Dynamic | N/A | Similar to a keyset. | | Forward-only | Forward-only | Similar to a static resultset or snapshot, but you can move forward only through the set of records. This is the default resultset type. |
|
|
|
|
|
|
Notice that the remote data objects do not support any rdoResultset type that returns a table. This is because the remote data objects are geared to using SQL statements to retrieve subsets of information from one or more tables. You must set the order of the rdoResultset with the Order By clause of the SQL statement used to create the set. Also, because there is no table equivalent, RDO does not support indexes. |
|
|
|
|
|
|
|
|
As you might expect with the similarity of the objects, there are methods of the RDO that are similar to the methods of the DAO. These methods and their respective objects are summarized in Table 27.4. |
|
|
|
|
|